Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Conversation

@teogeb
Copy link
Contributor

@teogeb teogeb commented Mar 11, 2021

Hide internal properties and methods from the public classes.

Currently the internals are annotated with a weak /** @internal */ . Some of the properties/methods could be marked with TypeScript's private to force the encapsulation. That can be done later, after we have converted all classes to TypeScript and the usage boundaries are clear.

@teogeb teogeb requested a review from timoxley March 11, 2021 18:50
Copy link
Contributor

@timoxley timoxley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one. 👍 lgtm

@teogeb teogeb merged commit 4bdc631 into 5.x Mar 12, 2021
@teogeb teogeb deleted the internal-properties-and-methods branch March 12, 2021 06:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants